package com.cts.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cts.entity.Friend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cts.model.dto.FriendDTO;
import com.cts.model.vo.FriendVO;
import com.cts.model.vo.PageResultVO;

import java.util.List;

/**
* @author tongshengchen
* @description 针对表【friend】的数据库操作Service
* @createDate 2023-02-06 12:25:57
*/
public interface FriendService extends IService<Friend> {

    Boolean publishFriend(Integer id, Boolean isPublished);

    List<Friend> getFriendByName(String nickName);

    PageResultVO<Friend> selectFriendList(FriendDTO friendDTO);

    List<FriendVO> getFriendList();
}
